<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>黑马面面</title>
  <link rel="stylesheet" href="./css/normalize.css">
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/index.css">
  <link rel="stylesheet" href="./css/swiper.min.css">
</head>

<body>
  <section class="wrap">
    <!-- 头部区域 -->
    <header class="header">黑马面面</header>
    <!-- 导航 nav -->
    <nav>
      <a href="#" class="item">
        <img src="./icons/icon1@2x.png" alt="">
        <span>hr面试</span>
      </a>
      <a href="./write.html" class="item">
        <img src="./icons/icon2_03.png" alt="">
        <span>笔试</span>
      </a>
      <a href="#" class="item">
        <img src="./icons/icon3@2x.png" alt="">
        <span>技术面试</span>
      </a>
      <a href="./ai.html" class="item">
        <img src="./icons/icon4@2x.png" alt="">
        <span>模拟面试</span>
      </a>
      <a href="./skill.html" class="item">
        <img src="./icons/icon5@2x.png" alt="">
        <span>面试技巧</span>
      </a>
      <a href="./found.html" class="item">
        <img src="./icons/icon6@2x.png" alt="">
        <span>薪资查询</span>
      </a>
    </nav>
    <!-- 广告 -->
    <section class="go">

      <img src="./icons/go_07.png" alt="">

    </section>
  </section>
  <!-- 就业指导模块 -->
  <section class="content">
    <div class="con-hd">
      <h4>
        <span class="icon">
          <img src="./icons/新手指导@2x.png" alt="">
        </span>
        就业指导
      </h4>
      <a href="#" class="more">更多>></a>
    </div>
    <!-- 轮播图 使用swiper插件 -->
    <div class="get_job_focus">
      <!-- Swiper -->
      <div class="swiper-container get_job_fo">
        <div class="swiper-wrapper">
          <div class="swiper-slide">
            <a href="#"><img src="./images/pic.png" alt=""></a>
            <p>老师教你应对面试技巧</p>
          </div>
          <div class="swiper-slide">
            <a href="#"><img src="./images/3.jpg" alt=""></a>
            <p>老师教你应对面试技巧</p>
          </div>
          <div class="swiper-slide">
            <a href="#"><img src="./images/ldh.jpg" alt=""></a>
            <p>老师教你应对面试技巧</p>
          </div>
         
          
        </div>
     
        <!-- Add Pagination -->
        <!-- <div class="swiper-pagination"></div> -->
      </div>
         <!-- Add Arrows -->
         <div class="swiper-button-next"></div>
         <div class="swiper-button-prev"></div>
    </div>
  </section>

  <!-- 充电学习模块 -->
  <section class="content">
    <div class="con-hd">
      <h4>
        <span class="icon">
          <img src="./icons/i1.png" alt="">
        </span>
        充电学习
      </h4>
      <a href="#" class="more">更多>></a>
    </div>
    <!-- 学习模块轮播图 -->
     <div class="study">
     <!-- Swiper -->
  <div class="swiper mySwiper">
    <div class="swiper-wrapper">
      <div class="swiper-slide">
        <img src="./images/pic1.png" alt="">
        <h5>说地道英语，告别中式英语</h5>
        <p>156人学习</p>
      </div>
      <div class="swiper-slide">
        <img src="./images/pic2.png" alt="">
        <h5>说地道英语，告别中式英语</h5>
        <p>156人学习</p>
      </div>
      <div class="swiper-slide">
        <img src="./images/pic1.png" alt="">
        <h5>说地道英语，告别中式英语</h5>
        <p>156人学习</p>
      </div>
      <div class="swiper-slide">
        <img src="./images/pic2.png" alt="">
        <h5>说地道英语，告别中式英语</h5>
        <p>156人学习</p>
      </div>
      <div class="swiper-slide">
        <img src="./images/pic1.png" alt="">
        <h5>说地道英语，告别中式英语</h5>
        <p>156人学习</p>
      </div>
      <div class="swiper-slide">
        <img src="./images/pic2.png" alt="">
        <h5>说地道英语，告别中式英语</h5>
        <p>156人学习</p>
      </div>
      <div class="swiper-slide">
        <img src="./images/pic1.png" alt="">
        <h5>说地道英语，告别中式英语</h5>
        <p>156人学习</p>
      </div>
  
    </div>
    <div class="swiper-pagination"></div>
  </div>
     </div>
  
  </section>

  <!-- 底部-->
   <footer class="footer">
    <a href="./index.html" class="item">
      <img src="./icons/home.png" alt="">
      <span>首页</span>
    </a>
    <a href="./write.html" class="item">
      <img src="./icons/ms.png" alt="">
      <span>技术面试</span>
    </a>
    <a href="./ai.html" class="item">
      <img src="./icons/net.png" alt="">
      <span>模拟面试</span>
    </a>
    <a href="#" class="item">
      <img src="./icons/user.png" alt="">
      <span>我的主页</span>
    </a>

   </footer>
  <script src="./js/flexible.js"></script>
  <script src="./js/swiper.min.js"></script>
  <script>
    // var swiper = new Swiper('.swiper-container', {
    //   slidesPerView: 3,
    //   spaceBetween: 30,
    // centeredSlides: true,
    // loop: true,
    //   pagination: {
    //     el: '.swiper-pagination',
    //     clickable: true,
    //   },
    // });

    // 第一函数里面是 就业指导轮播图
    (function () {
      var swiper = new Swiper('.swiper-container', {
        // 显示的个数
        slidesPerView:2,
        // 每个slide之间的距离
        spaceBetween: 30,
        // 是否要在中间显示  false会贴左边显示
        centeredSlides: true,
        loop: true,
        // 添加左右箭头
        navigation: {
          nextEl: '.swiper-button-next',
          prevEl: '.swiper-button-prev',
        },
        // 去掉 小圆点指示器、

        // pagination: {
        //   el: '.swiper-pagination',
        //   clickable: true,
        // },
      });
    })();
  
    // 第二个函数的轮播图
    (function()  {
      var swiper = new Swiper(".mySwiper", {
      slidesPerView: 2.2,
      spaceBetween: 20,
      // pagination: {
      //   el: ".swiper-pagination",
      //   clickable: true,
      // },
    });
  })()
  
  </script>
</body>

</html>